package com.dt76.smallloanbackenduser.remote.jh;


import com.dt76.smallloanbackenduser.hystrix.jh.LoasituationHystrix;
import com.dt76.smallloanbackenduser.pojo.jh.DataTemplate;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;


@FeignClient(name = "smallloan-backend-service", fallback = LoasituationHystrix.class)
public interface LoasituationRemote {

    @RequestMapping("/jh/qryThenumberAll")
    Map<String,List<DataTemplate>> qryThenumberAll();

}
